﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace UI.Dendrogram
{
    public class Branch2
    {
        public bool ConnectToChildBranch { get; set; }
        public object Data { get; set; }
        public string Label { get; set; }
        public Point FromPos { get; set; }
        public Point ToPos { get; set; }

        public Branch2(object data, string label,
            Point fromPos, Point toPos, bool connectedToChildBranch)
        {
            this.Data = data;
            this.Label = label;
            this.FromPos = fromPos;
            this.ToPos = toPos;
            this.ConnectToChildBranch = connectedToChildBranch;
        }
    }
}
